Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IFC-758 Add roles, groups and permissions in demo data #4587

Merged
merged 14 commits into from
Oct 30, 2024

Conversation

gmazoyer
Copy link
Contributor

@gmazoyer gmazoyer commented Oct 9, 2024

No description provided.

@github-actions github-actions bot added group/backend Issue related to the backend (API Server, Git Agent) group/frontend Issue related to the frontend (React) labels Oct 9, 2024
Copy link

codspeed-hq bot commented Oct 9, 2024

CodSpeed Performance Report

Merging #4587 will not alter performance

Comparing gma-20241009-ifc758 (0e8b3bd) with release-1.0 (3b5b366)

Summary

✅ 10 untouched benchmarks

@gmazoyer gmazoyer force-pushed the gma-20241009-ifc758 branch 4 times, most recently from 9a93cb0 to 3f82434 Compare October 15, 2024 12:42
@gmazoyer gmazoyer changed the base branch from develop to release-1.0 October 28, 2024 10:35
@gmazoyer gmazoyer force-pushed the gma-20241009-ifc758 branch 3 times, most recently from 6b934b2 to 826bc07 Compare October 29, 2024 09:29
@gmazoyer gmazoyer requested a review from a team October 29, 2024 10:34
@gmazoyer gmazoyer marked this pull request as ready for review October 29, 2024 10:34
@github-actions github-actions bot added the type/documentation Improvements or additions to documentation label Oct 29, 2024
except NodeNotFoundError:
obj = await client.create(branch=branch, kind="CoreObjectPermission", data=p.model_dump())
batch.add(task=obj.save, node=obj)
store.set(key=name, node=obj)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use upsert mutations here to make it a bit easier to read when creating or ensuring that these exist. Not a blocker for now but perhaps an improvement for the next iteration. Do we need to create the global permissions as those should be created automatically?

They should be automatically created on infrahub init.
@gmazoyer gmazoyer merged commit b5cc435 into release-1.0 Oct 30, 2024
32 checks passed
@gmazoyer gmazoyer deleted the gma-20241009-ifc758 branch October 30, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) group/frontend Issue related to the frontend (React) type/documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants